package com.design.pattern.decorator;


public class Soy extends CondimentDecorator {
	Beverage beverage;
	
	public Soy(Beverage beverage) {
		this.beverage = beverage;
	}
	
	public String getDescription() {
	return beverage.getDescription() + ", Soy";
	}
	
	public double cost() {
		return .30 + beverage.cost();
	}
}
